An empirical evaluation of several test-a-few strategies for testing particular conditions

نویسندگان

  • Eric Ying Kwong Chan
  • Wing Kwong Chan
  • Pak-Lok Poon
  • Yuen-Tak Yu
چکیده

Existing specification-based testing techniques often generate a comprehensive test suite to cover diverse combinations of test-relevant aspects. Such a test suite can be prohibitively expensive to execute exhaustively due to its large size. A pragmatic strategy often adopted in practice, called test-once, is to identify certain particular conditions from the specification and to test each such condition once only. This strategy is implicitly based on the uniformity assumption that the implementation will process a particular condition uniformly, regardless of other parameters or inputs. As the decision of adopting the test-once strategy is often based on the specification, whether the uniformity assumption actually holds in the implementation needs to be critically assessed, or else the risk of inadequate testing could be non-negligible. As viable alternatives to reduce such a risk, this paper proposes a family of test-a-few strategies for the testing of particular conditions. It further reports two rounds of experiments that evaluate the effectiveness of the test-a-few strategies as compared to test-once. Our experiments (1) provide clear evidence that the uniformity assumption often, but not always, holds, and that the assumption usually fails to hold when the implementation is faulty, (2) demonstrate that all our proposed test-a-few strategies are statistically more reliable than test-once in revealing faulty programs, (3) show that random sampling is already substantially more effective than test-once, and (4) indicate that, compared to other test-a-few strategies under study, choice coverage seems to achieve a better tradeoff between test effort and effectiveness.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Economic evaluation of test-and-treat and empirical treatment strategies in the eradication of Helicobacter pylori infection; A Markov model in an Iranian adult population

Background: Helicobacter pylori may cause many gastrointestinal problems in developing countries such as Iran. We aimed to analyze the cost- effectiveness and cost- utility of the test-and-treat and empirical treatment strategies in managing Helicobacter pylori infection.            Methods: This was a Markov based economic evaluation. Effect...

متن کامل

I-16: Computer Aided Sperm Analysis andSperm Functional Testing (Hyperactivation) asBackground Tools in the Evaluation of SpermFunction/Quality

After twenty years Computer Aided Sperm Analysis has developed considerably and is now routinely used in many laboratories across the world. The advantage of the CASA methodology available is twofold: Analysis of particularly sperm concentration, sperm motility, sperm morphology and vitality is quantified in an Background manner. Secondly, most of the CASA analysis with the exception of sperm m...

متن کامل

Using the Particle Swarm Optimization Algorithm to Generate the Minimum Test Suite in Covering Array with Uniform Strength

Up to now, several useful algorithms have been proposed to generate covering array, which is one of the branches of combinatorial testing. The main challenge in generating such arrays is generation of the arrays with a minimum number of test cases (for efficiency) at a proper time (for performance), for large systems. Covering array generation strategies are often divided into two general categ...

متن کامل

Performance Evaluation of Dynamic Modulus Predictive Models for Asphalt Mixtures

Dynamic modulus characterizes the viscoelastic behavior of asphalt materials and is the most important input parameter for design and rehabilitation of flexible pavements using Mechanistic–Empirical Pavement Design Guide (MEPDG). Laboratory determination of dynamic modulus is very expensive and time consuming. To overcome this challenge, several predictive models were developed to determine dyn...

متن کامل

Empirical Studies of a Safe Regression Test Selection

Regression testing is an expensive testing procedure utilized to validate modiied software. Regression test selection techniques attempt to reduce the cost of regression testing by selecting a subset of a program's existing test suite. Safe regression test selection techniques select subsets that, under certain well-deened conditions, exclude no tests (from the original test suite) that if exec...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Softw., Pract. Exper.

دوره 42  شماره 

صفحات  -

تاریخ انتشار 2012